package com.eedi.framework.user.controller.org.vo;

import com.eedi.framework.common.enums.CommonStatusEnum;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.ToString;

import javax.validation.constraints.NotNull;

/**
 * 修改账号信息
 * @author zybourn
 */
@Schema(description = "经营管理 - 账号管理 修改账号信息")
@Data
@ToString(callSuper = true)
public class OrgUserUpReq {

    /**
     * 用户ID
     */
    @Schema(description = "用户ID", example = "15601691300")
    @NotNull(message = "用户ID不能为空")
    private String orgUserId;
    /**
     * 真实姓名
     */
    @Schema(description = "用户姓名", example = "15601691300")
    @NotNull(message = "用户姓名不能为空")
    private String orgUserName;

    @Schema(description = "用户手机号", example = "15601691300")
    @NotNull(message = "用户手机号不能为空")
    private String orgUserMobile;

    /**
     * 用户证件号码
     */
    @Schema(description = "身份证号", example = "6127011985112706542")
    @NotNull(message = "用户身份证号不能为空")
    private String orgUserCertNo;


    /**
     * 用户所在部门ID
     */
    @Schema(description = "部门ID", example = "18299933455555")
    @NotNull(message = "用户部门ID不能为空")
    private String orgDeptId;

    /**
     * 状态
     */
    @Schema(description = "用户状态", example = "1")
    @NotNull(message = "用户状态不能为空")
    private CommonStatusEnum orgUserAccountStatus;
}
